﻿using AfrikDotnetWebSite.Models;
using System.Web.Mvc;

namespace AfrikDotnetWebSite.Controllers
{
    public class ProjectsController : Controller
    {
        private AfrikDotnetContext db = new AfrikDotnetContext();

        protected override void Dispose(bool disposing)
        {
            db.Dispose();
            base.Dispose(disposing);
        }

        public ActionResult Index()
        {
            return View(db.Projects);
        }
    }
}
